define([],function(){
	var tpl = {};

	tpl.visitConfirmWrap = function(){
		var html = "";
		html += visitConfirmWrap();
		return html;
	}
	tpl.warn = function(){
		var html = "";
		html += warn();
		return html;
	}

	var visitConfirmWrap = function(){
		return 	'<script id="tpl_visitAppointList_visitConfirmWrap" type="text/html">'+
				'	<div id="visitConfirm" class="form-horizontal clearfix visitAppointList-visitConfirm"></div>'+
				'	<div id="submit" class="btn-submit mt10 mb15">确认已访视</div>'+
				'</script>';
	}
	var warn = function(){
		return 	'<script id="tpl_visitAppointList_warn" type="text/html">'+
				'	<table class="table table-hover">'+
				'		<thead>'+
				'			<tr>'+
				'				<th>姓名</th>'+
				'				<th>联系方式</th>'+
				'				<th>小区名称</th>'+
				'				<th>门牌号码</th>'+
				'				<th>预约时间</th>'+
				'			</tr>'+
				'		</thead>'+
				'		<tbody>'+
				'			{{each list as value i}}'+
				'			<tr>'+
				'				<td>{{value.userName}}</td>'+
				'				<td>{{value.phoneNo}}</td>'+
				'				<td>{{value.address}}</td>'+
				'				<td>{{value.doorplate}}</td>'+
				'				<td>{{value.appointmentTime}}</td>'+
				'			</tr>'+
				'			{{/each}}'+
				'		</tbody>'+
				'	</table>'+
				'</script>';
	}

	return tpl;
});